package cn.edu.zsc.rbac.domain.service;

import cn.edu.zsc.rbac.domain.dto.UserDto;
import cn.edu.zsc.rbac.domain.entity.User;
import cn.edu.zsc.rbac.domain.vo.Result;


public interface IUserService extends IBaseService<User, UserDto> {

    boolean deptInUse(int deptId);

    boolean roleInUse(int roleId);

    Result toggle(int id);
    Result delete(int id);  //补充删除接口
}
